package com.epalmpay.service.ys.indexService;

import com.epalmpay.dto.mall.MallGoodOutDTO;
import com.epalmpay.dto.merchant.index.StatisGroupDayOutDTO;
import com.epalmpay.dto.prepurchase.PrePurActivityStaticOutDTO;
import com.epalmpay.dto.yunliu.index.agent.YsAgentIndexInDTO;
import com.epalmpay.dto.yunliu.index.agent.YsAgentIndexOutDTO;
import com.epalmpay.dto.yunliu.index.merchant.PreActivityOutDTO;
import com.epalmpay.dto.yunliu.index.merchant.YsGroupIndexInDTO;
import com.epalmpay.entity.*;
import com.epalmpay.entity.profit.Profit;

import java.nio.channels.AcceptPendingException;
import java.util.List;

/**
 * Created by Administrator on 2017/9/7.
 */
public interface IYsIndexService {

    StatisGroupDay queryTodayAddMemberCount(YsGroupIndexInDTO groupIndexInDTO) throws Exception;

//    StatisGroupDay queryYestTodayAddMemberCount(YsGroupIndexInDTO groupIndexInDTO)throws Exception;

//    StatisGroup queryStatisGroupData(YsGroupIndexInDTO groupIndexInDTO)throws Exception;

    List<MallGoodOutDTO> queryMallGoodCount(YsGroupIndexInDTO groupIndexInDTO)throws Exception;

    List<StatisGroupDayOutDTO> queryYsSevenDayData(YsGroupIndexInDTO groupIndexInDTO)throws Exception;

    StatisAgentDay queryAgentTodayAddMemberCount(YsAgentIndexInDTO agentIndexInDTO)throws Exception;

    StatisAgentDay queryYsAgentYestAddMemberCount(YsAgentIndexInDTO agentIndexInDTO)throws Exception;

    StatisAgent queryYsStatisAgentData(YsAgentIndexInDTO agentIndexInDTO)throws Exception;

    List<YsAgentIndexOutDTO> queryAgentFiveData(YsAgentIndexInDTO agentIndexInDTO)throws Exception;

    PrePurchaseActivity queryPrepurchaseActivityCount(YsGroupIndexInDTO groupIndexInDTO)throws Exception;

    YsObd queryObdCount(YsGroupIndexInDTO groupIndexInDTO)throws Exception;

    YsObd queryObddistributionCount(YsGroupIndexInDTO groupIndexInDTO);

    OrderGood queryOrderGoodCount(YsGroupIndexInDTO groupIndexInDTO);

    Agent queryPreAmount(YsGroupIndexInDTO groupIndexInDTO);

    TradeOffline queryDayTradeAmount(YsGroupIndexInDTO groupIndexInDTO);

    Profit queryDayProfitAmount(YsGroupIndexInDTO groupIndexInDTO);

    Profit queryDayPreProfitAmount(YsGroupIndexInDTO groupIndexInDTO);

    PrepurchaseActivityStatis queryDayPrepurchaseAmount(YsGroupIndexInDTO groupIndexInDTO);

    List<PreActivityOutDTO> queryPurActivity(YsGroupIndexInDTO groupIndexInDTO);

    Member queryAddTodayMemberCount(YsGroupIndexInDTO groupIndexInDTO);

    Member queryAddYestMemberCount(YsGroupIndexInDTO groupIndexInDTO);

    Shop queryAddShopCount(YsGroupIndexInDTO groupIndexInDTO);

    Agent queryAddAgentCount(YsGroupIndexInDTO groupIndexInDTO);
}
